//
//  testViewController.m
//  test
//
//  Created by kepuG on 17/1/20.
//  Copyright © 2017年 text. All rights reserved.
//

#import "testViewController.h"
#import "BasicNavigationController.h"

@interface testViewController ()

@property (strong ,nonatomic) UILabel *label;


@end

@implementation testViewController



-(instancetype)init{

    self = [super init];
    if (self) {
        
    }
    return self;
}

+(testViewController *) dequeControllers{
    
    testViewController *vc = [[testViewController alloc] init];
    
    return vc;
}



- (void)viewDidLoad {
    [super viewDidLoad];

    self.label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 20)];
    self.label.backgroundColor = [UIColor redColor];
    self.view.backgroundColor = [UIColor grayColor];
    [self.view addSubview:self.label];
    
    
// [UINavigationBar appearance] setBackgroundImage:<#(nullable UIImage *)#> forBarPosition:<#(UIBarPosition)#> barMetrics:<#(UIBarMetrics)#>
    
    
    // Do any additional setup after loading the view.
}

-(void)setData:(NSString *)data{
    _data =data;
    self.label.text = data;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
